package com.dragon.account.repository;

import java.util.List;
import java.util.Map;

import com.dragon.account.entity.PrCodeTable;
import com.dragon.common.repository.mybatis.BaseRepository;
import com.dragon.common.repository.mybatis.MyBatisRepository;
import com.dragon.loan.entity.CommonParam;

/**
 * @author hanchaoyong
 */
@MyBatisRepository
public interface PrCodeTableRepository extends BaseRepository<PrCodeTable, String> {

    int selectMaxByBillDate();
    
    public List<CommonParam> selectCommonParamList();
    
    public CommonParam selectCommonParamByTypeId(String typeId);
    
    public List<Map<String,Object>> selectAddress();
    
    public List<String> selectIdByTypeId(String typeId);

	String selectNameById(Map<String, Object> paramMap);
	
	List<Map<String, String>> selectMapByTypeId(String typeId);

	/**
	 * 根据type_id 获取  typeName
	 * @param typeId  类型id
	 * @return 类型名称
	 * @author laijingshan
	 * @date 2018年9月21日
	 */
	String getTypeNameByTypeId(String typeId);
}
 